<?php

require_once "./include/common.inc.php";

$timeString = date("Y-m-d H:i:s", $timestamp);

$curriculum = array();
for ($i = 1; $i <= 13; $i++)
	for ($j = 1; $j <= 7; $j++)
		$curriculum[$i][$j] = "";
        
unset($_SESSION['name']);

$version = array();
$query = $db->query("SELECT * FROM `{$tablepre}version` ORDER BY `id` DESC LIMIT 0, 3");
while ($tempVersionInfo = $db->fetch_array($query))
{
	$version[$tempVersionInfo['id']] = $tempVersionInfo;
	$version[$tempVersionInfo['id']]['log'] = explode("\r", $version[$tempVersionInfo['id']]['log']);
}

include template("index");

?>